jade.content
Class ContentElementList

java.lang.Object
  |
  +--jade.content.ContentElementList

public class ContentElementList
extends java.lang.Object
implements ContentElement

Author:
Federico Bergenti - Universita` di Parma

Constructor Summary
ContentElementList()
          Constructor
 
Method Summary
 void addElement(ContentElement t)
          Adds a new element to the list.
 void clearAllElements()
          Clears all elements..
 Iterator getAllElement()
          Retrieves the element in this list.
 ContentElement getElement(int i)
          Retrieves the i-th element of the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentElementList

public ContentElementList()
Constructor
Method Detail

addElement

public void addElement(ContentElement t)
Adds a new element to the list.
Parameters:
t - the new element.

getElement

public ContentElement getElement(int i)
Retrieves the i-th element of the list.
Parameters:
i - index of the element
Returns:
the element to retrieve

clearAllElements

public void clearAllElements()
Clears all elements..

getAllElement

public Iterator getAllElement()
Retrieves the element in this list.
Returns:
an iterator to the list of elements.